package com.hsh.maoduo.service.impl;

import com.hsh.maoduo.common.Result;
import com.hsh.maoduo.service.RepositoryService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class RepositoryServiceImpl implements RepositoryService {
    @Value("${repository.name}")
    public String repositoryName;
    @Override
    public Result getName() {
        return Result.success(repositoryName);
    }
}
